Skip Headers

Oracle® Objects for OLE C++ Class Library Developer's Guide 10g Release 2 (10.2) Part Number B14308-01 |
Home | Book List | Contents | Index | Master Index | Feedback

# SetDequeueMode Method

Applies To

OAQ

Description

Specifies the locking behavior associated with the dequeue operation.

Usage

void SetDequeueMode(int mode) const throw(OException)

Arguments

mode | The locking behavior mode associated with the dequeue operation.

Remarks

Possible values include :

- OAQ_DQ_BROWSE(1) - Do not lock when dequeuing
- OAQ_DQ_LOCKED (2)- Read and obtain a write lock on the message
- OAQ_DQ_REMOVE (3)(Default) -Read the message and update or delete it.